package com.jzo2o.customer.model.dto.response;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@ApiModel("注册结果")
@NoArgsConstructor
@AllArgsConstructor
public class RegisterDTO {

    @ApiModelProperty("响应消息")
    private String msg;

    @ApiModelProperty("状态码")
    private Integer code;

    public static RegisterDTO success(){
        return new RegisterDTO("注册成功", 200);
    }
}